const allroutes = [
    {
        path: 'manager',
        name: 'manager',
        component: () => import (/*webpackChunkName:'manager'*/"../pages/home/manager"),
        meta:{//路由元信息，储存一些用户定义的属性
            name:"管理首页",
            icon:"iconfont icon-shouye1",
            fullPath:"/manager"
        }
    },
    {
        path: 'mine',
        name: 'mine',
        component: () => import (/*webpackChunkName:'mine'*/"../pages/home/mine"),
        meta:{//路由元信息，储存一些用户定义的属性
            name:"我的中心",
            icon:"iconfont icon-gerenzhongxin3",
            fullPath:"/mine"
        }
    },
    {
        path: 'studentManager',
        name: 'studentManager',
        redirect: '/studentManager/product',
        component: () => import (/*webpackChunkName:'studentManager'*/"../pages/home/studentManager"),
        children:[
            {
                path: 'product',
                name: 'product',
                component: () => import (/*webpackChunkName:'product'*/"../pages/home/studentManager/product.vue"),
                meta:{
                    name:"学员项目管理",
                    icon:"iconfont icon-xiangmu_xiangmuguanli",
                    fullPath:"/studentManager/product"
                }
            },
            {
                path: 'message',
                name:'message',
                component: () => import (/*webpackChunkName:'message'*/"../pages/home/studentManager/message.vue"),
                meta:{
                    name:"学员资料",
                    icon:"iconfont icon-gerenziliao",
                    fullPath:"/studentManager/message"
                }
            },
            {
                path: 'sushe',
                name:'sushe',
                component: () => import (/*webpackChunkName:'sushe'*/"../pages/home/studentManager/sushe.vue"),
                meta:{
                    name:"学员宿舍",
                    icon:"iconfont icon-MadebyMade-Vector-Li",
                    fullPath:"/studentManager/sushe"
                }
            }
        ],
        meta:{
            name:"学员管理",
            icon:"iconfont icon-gerenzhongxin-gerenxinxi",
            fullPath:"/studentManager"
        }
    },
    {
        path: 'attendace',
        name:'attendace',
        component: () => import (/*webpackChunkName:'attendace'*/"../pages/home/attendace"),
        meta:{
            name:"考勤管理",
            icon:"iconfont icon-kaoqin",
            fullPath:"/attendace"
        }
    },
    {
        path: 'statistics',
        name:'statistics',
        component: () => import (/*webpackChunkName:'statistics'*/"../pages/home/statistics"),
        meta:{
            name:"数据统计",
            icon:"iconfont icon-shujutongji",
            fullPath:"/statistics"
        }
    },
    {
        path: 'user',
        name:'user',
        component: () => import (/*webpackChunkName:'user'*/"../pages/home/user"),
        meta:{
            name:"用户管理",
            icon:"iconfont icon-zhanghu",
            fullPath:"/user"
        }
    },
]

export default allroutes